package com.finance.system.user.entity;

import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    @NotNull
    private Long id;

    @NotNull
    private String userName;

    @NotNull
    private String phone;

    @NotNull
    private String email;
}
